import { Component, OnInit } from '@angular/core';

@Component({
  templateUrl: './key.component.html'
})
export class MapKeyComponent implements OnInit {

  data: any[] = [];

  constructor() {
  }

  ngOnInit() {
    this.loadData(1);
  }

  loadData(pi: number): void {
    this.data = new Array(5).fill({}).map((_, index) => {
      return {
        title: '长沙市 雨花区 街道 001号小班',
        content: '面积:10.1亩  有林地'
      };
    });
  }
}
